home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.gsfc.nasa.gov!usenet
- From: Mike Stark <michael.e.stark@gsfc.nasa.gov>
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: 19 Feb 1996 16:57:57 GMT
- Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
- Message-ID: <4gaa6l$8mk@post.gsfc.nasa.gov>
- References: <4etcmm$lpd@nova.dimensional.com> <4f4ptt$a1c@newsbf02.news.aol.com> <4g1b7n$l5@mailhub.scitec.com.au> <JSA.96Feb16135027@organon.com>
- NNTP-Posting-Host: fdf-int-sser.gsfc.nasa.gov
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Macintosh; I; 68K)
- X-URL: news:JSA.96Feb16135027@organon.com
-
- jsa@organon.com (Jon S Anthony) wrote:
- >In article <4g1b7n$l5@mailhub.scitec.com.au> ramsesy@rd.scitec.com.au (Ramses Youhana) writes:
- >
- >> You'll be surprised how easily both junior (and senior) engineers can turn
- >> both C/C++ and Ada programs into spaghetti code. The language itself
- >> doesn't make for a quality system.
- >
- >Yes, but there are degrees of ease with which this can be done. I think
- >that was more to the point.
- >
- >
- >> Didn't NASA loose a satelite due to a bug in a piece of Ada code?
- >
- >I don't think so. I believe that the only confirmed case of a probe
- >loss due to software was a Venus probe which had Fortran code (the
- >problem was a "lexical" error concerning spaces not acting as lexical
- >separators). The recent Mars probe that "vanished" was (last I saw)
- >thought to have been lost due to a small rupture in one of the on board
- >tanks. This caused the ship to go into uncontrolled tumbling. I don't
- >know what it was programmed with.
- >
- >/Jon
- >--
- >Jon Anthony
- >Organon Motives, Inc.
- >1 Williston Road, Suite 4
- >Belmont, MA 02178
- >
- >617.484.3383
- >jsa@organon.com
- >
-
- Folks --
-
- The mere fact that Ada (or any other language) is used for a satellite does not
- guarantee that the software is reliable enough -- there is far more to engineering
- flight qualified software. That being said, I would prefer a language that can
- use exception handling to recover from anomalies such as bit flips caused by
- cosmic rays, and that doesn't allow unrestricted address arithmetic to
- (potentially) store data into the code currently in memory. Ada isn't the only
- language designed for high reliability (Java and Eiffel leap to mind), but if I
- were a satellite project manager I would certainly prefer it to C or C++.
-
- Mike
-
- -----------------------------------------------------------------------
- Michael Stark NASA/GSFC
- Phone: (301) 286-5048 Code 552
- Fax: (301) 286-0245 Greenbelt, MD 20771
- e-mail: michael.e.stark@gsfc.nasa.gov
- "I don't give them hell. I tell the truth and they THINK it's hell!"
- -- Harry S. Truman
- -----------------------------------------------------------------------
-
-
-